
    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>添加策略</title>
        <link rel="stylesheet" href="__CDN__/assets/css/addPolicy.css">
        <link rel="stylesheet" href="__CDN__/assets/css/jedate.css">
        <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
    </head>
    <body>

    <div align="center">
        <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
            <table id="table1" width="100%" border="0" cellspacing="0" cellpadding="0" class="tab">
                <tbody>
                <tr>
                    <th>条件名称</th>
                    <th>评分(0-100)</th>
                    <th>最近天数(1-60天)</th>
                    <th>客户真实度(0-100)</th>
                    <th>IP类型</th>
                </tr>
                <tr>
                    <td>
                        <div align="center">
                            <input id="c-title" data-rule="required;" name="row[title]" class="inp1" style="width:200px" type="text">
                        </div>
                    </td>
                    <td>
                        <div align="center">
                            <input id="c-score" data-rule="required;integer;range(0~100)" class="inp1" name="row[score]" type="number">
                        </div>
                    </td>
                    <td>
                        <div align="center">
                            <input id="c-days" data-rule="required;integer;range(1~60)" class="inp1" name="row[days]" type="number">
                        </div>
                    </td>
                    <td>
                        <div align="center">
                            <select id="c-trueness_con" name="row[trueness_con]" style="width: 100px;">
                                <option value=" "> </option>
                                <option value=">"> > </option>
                                <option value=">="> >= </option>
                                <option value="="> = </option>
                                <option value="<="> <= </option>
                                <option value="<"> < </option>
                            </select>
                            <input id="c-trueness" data-rule="required;integer;range(0~100)" class="inp1" name="row[trueness]" type="number">
                        </div>
                    </td>
                    <td>
                        <div align="center">
                            <label><input type="checkbox" value="数据中心" name="row[type_id][0]">数据中心</label>
                            <label><input type="checkbox" value="专用出口" name="row[type_id][1]">专用出口</label>
                            <label><input type="checkbox" value="普通宽带" name="row[type_id][2]">普通宽带</label>
                            <label><input type="checkbox" value="移动宽带" name="row[type_id][3]">移动宽带</label>
                            <label><input type="checkbox" value="骨干节点" name="row[type_id][4]">骨干节点</label>
                            <label><input type="checkbox" value="已知爬虫" name="row[type_id][5]">已知爬虫</label>
                            <label><input type="checkbox" value="中小运营商" name="row[type_id][6]">中小运营商</label>
                        </div>
                    </td>
                </tr>
                </tbody>
            </table>
            <table id="table2" width="100%" border="0" cellspacing="0" cellpadding="0" class="tab">
                <tr>
                    <th>省份(示例:'省份1','省份2','省份3')</th>
                    <th>城市(示例:'城市1','城市2','城市3')</th>
                    <th>访问次数</th>
                </tr>
                <tr>
                    <td>
                        <div align="center">
                            <select id="c-provice_include" name="row[provice_include]" style="width: 100px;">
                                <option value=""> </option>
                                <option value="包含"> 包含</option>
                                <option value="不包含"> 不包含</option>
                            </select>
                            <input id="c-provice" class="inp1"  name="row[provice]" style="width: 350px" type="text">
                        </div>
                    </td>
                    <td>
                        <div align="center">
                            <select id="c-city_include" name="row[city_include]" style="width: 100px;">
                                <option value=""> </option>
                                <option value="包含"> 包含</option>
                                <option value="不包含"> 不包含</option>
                            </select>
                            <input id="c-city" name="row[city]" class="inp1" style="width: 350px" type="text">
                        </div>
                    </td>
                    <td>
                        <div align="center">
                            <select id="c-visit_con" name="row[visit_con]" style="width: 100px;">
                                <option value="IP访问次数>">IP访问次数></option>
                                <option value="IP段访问总次数>">IP段访问总次数></option>
                                <option value="IP段访问IP个数>">IP段访问IP个数></option>
                            </select>
                            <input id="c-visit" name="row[visit]" class="inp1" type="number" value="1">
                        </div>
                    </td>
                </tr>
            </table>
            <table id="table3" width="100%" border="0" cellspacing="0" cellpadding="0" class="tab">
                <tr>
                    <th>运营商</th>
                    <th>时间范围</th>
                </tr>
                <tr>
                    <td>
                        <div align="center">

                            <label style="width: 100px;display: inline-block"><input type="checkbox" name="row[carrier][1]" value="移动" >移动</label>
                            <label style="width: 100px;display: inline-block"><input type="checkbox" name="row[carrier][2]" value="联通" >联通</label>
                            <label style="width: 100px;display: inline-block"><input type="checkbox" name="row[carrier][3]" value="电信" >电信</label>
                            <label style="width: 100px;display: inline-block"><input type="checkbox" name="row[carrier][0]" value="其他" >其他</label>
                        </div>
                    </td>
                    <td>
                        <div align="center">
                            <span>开始时间：</span>
                            <input id="c-begintime"  name="row[begintime]" type="text" class="jeinput" >
                            <span>结束时间：</span>
                            <input id="c-endtime"  name="row[endtime]" type="text" class="jeinput">
                        </div>
                    </td>
                </tr>
            </table>
            <div align="center" style="width:90%; height:40px"><br>
                <button class="FontWeight btn btn-success btn-embossed disabled" type="submit" value="确定" style="height:30px; width:90px">{:__('OK')}</button>
                &nbsp;
                <button class="FontWeight btn btn-default btn-embossed" type="reset" value="取消" style="height:30px; width:90px">{:__('Reset')}</button>
            </div>
        </form>

        <script src="__CDN__/assets/js/jedate.min.js"></script>
        <script>
            jeDate("#c-begintime",{
                theme:{bgcolor:"#00A1CB",pnColor:"#00CCFF"},
                format: "YYYY-MM-DD hh:mm"
            })

            jeDate("#c-endtime", {
                theme: {bgcolor: "#00A1CB", pnColor: "#00CCFF"},
                format: "YYYY-MM-DD hh:mm"
            });
        </script>
    </div>
    </body>
    </html>
